<form method="GET" action="junk.cgi">

<input type=text name="birthyear">

<input type=submit name=press value="OK">

</form>

<form method="POST" enctype='multipart/form-data' action="upload.cgi">
<input type=file name=upload>
<input type=submit name=press value="OK">
</form>


<script type="text/javascript">

try{

    if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
	echo 1		
        //window.location.href="index1.asp";

    }else{
	echo 2
        //window.location.href="index2.asp";

    }

}catch(e){}

</script>